<template>
  <view class="container">
  
    
  <view class="bg-image">
    <image src="/static/bg13.png" mode="aspectFill"></image>
    <view class="bg2-overlay">
      <image src="/static/log12.png" mode="aspectFit"></image>
    </view>
  </view>
    
    <view class="verification-container">
      <text class="title-text">周边已核销</text>
      <text class="title-text-en">Merchandise redemption completed.</text>
      
      <view class="stamp-container">
      <image src="/static/logo14.png" mode="aspectFit" class="stamp-image"></image>
    </view>
      
      <text class="help-text">遇到问题请联系现场工作人员</text>
      <text class="help-text-en">See staff for support at the venue.</text>
    </view>
    
    <view class="footer">
      <text>成芯软件提供技术支持</text>
    </view>
  </view>
</template>

<script>
export default {
  mounted() {
    // 3秒后自动关闭页面
    setTimeout(() => {
      this.close();
    }, 3000);
  },
  methods: {
    close() {
      // 返回到首页index1.vue
      uni.redirectTo({ url: '/pages/index/index1' })
    }
  }
}
</script>

<style scoped>
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20rpx 30rpx;
  background-color: #fff;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.close-btn,
.more-btn {
  font-size: 40rpx;
  color: #333;
}

.title {
  font-size: 32rpx;
  color: #333;
  font-weight: 500;
}

.bg-image {
  width: 100%;
  height: 80px;
  position: relative;
}

.bg-image image {
  width: 100%;
  height: 100%;
}

.bg2-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg2-overlay image {
  max-width: 100%;
  max-height: 100%;
}

.verification-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60rpx 10rpx;
  background-color: #fff;
}

.title-text {
  font-size: 48rpx;
  color:rgb(11, 11, 11);
  font-weight: bold;
  margin-bottom: 20rpx;
}

.title-text-en {
  font-size: 28rpx;
  color: #999;
  margin-bottom: 80rpx;
}

.stamp-container {
  width: 400rpx;
  height: 400rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80rpx;
  border: 1rpx dashed #d9d9d9;
  border-radius: 20rpx;
}

.stamp-image {
  width: 280rpx;
  height: 280rpx;
}

.help-text {
  font-size: 28rpx;
  color: #666;
  margin-bottom: 10rpx;
}

.help-text-en {
  font-size: 24rpx;
  color: #999;
  margin-bottom: 40rpx;
}

.footer {
  padding: 20rpx 0;
  text-align: center;
  font-size: 24rpx;
  color: #999;
  background-color: #fff;
}
</style>